<template>
  <view class="btn flex a-c j-c" @click="$go2Top()">
    <u-icon name="arrow-upward"></u-icon>
  </view>
</template>

<style lang="scss" scoped>
.btn {
  width: 60rpx;
  background-color: $main-color;
  box-shadow: 1px 1px 5px #333;
  height: 60rpx;
  position: fixed;
  right: 10%;
  color: #fff;
  bottom: 5%;
  border-radius: 50%;
  z-index: 9999;
}
</style>
